package com.yztc.orangeentertainment.ui.main.channalfragment;

import com.yztc.orangeentertainment.base.IModle;
import com.yztc.orangeentertainment.base.IPresenter;
import com.yztc.orangeentertainment.base.IView;
import com.yztc.orangeentertainment.bean.channalbean.ChannalTitle;
import com.yztc.orangeentertainment.bean.channalbean.ChannalTitleDataBean;

import java.util.List;

import retrofit2.Call;

/**
 * Created by My on 2016/10/5.
 */
public class ChannalContract {
    public interface View extends IView {
        public void onChannalTitleSucess(List<ChannalTitleDataBean> channalTitleList);
        public void onChannalTitleFail(String msg);
    }
    public interface Modle extends IModle {
        public void getChannalTitle( OnLoadChannalListener loadChannalListener);
        public void getChannalTitleFromDb(Call<ChannalTitle> call);
    }
    public interface Presenter extends IPresenter {
        public void getChannalTitleFromNet();
        public void  getChannalTitleFromDb();
    }
}
